ledtrig-netdev: switch rwlock to spinlock
authorRafał Miłecki <[email protected]>
Wed, 23 Dec 2015 15:45:36 +0000 (15:45 +0000)
committerRafał Miłecki <[email protected]>
Wed, 23 Dec 2015 15:45:36 +0000 (15:45 +0000)
commit57d9172e89ece376ab698a73c9414a786e50e818
treeb1c830aa1de7ee529d99a507fc98cf2f8b73787b
parentbeecde42a503f429e4d960b9614ad4db6072c7a7
ledtrig-netdev: switch rwlock to spinlock

Read/write lock was adding useless complexity, there wasn't any real
gain in case of this driver.
Also switch to _bh variants to avoid deadlocks.

Signed-off-by: Rafał Miłecki <[email protected]>
SVN-Revision: 47986
target/linux/generic/files/drivers/leds/ledtrig-netdev.c